翻訳と辞書
Words near each other
・ Flexi disc
・ Flexi Fixed Deposits
・ Flexi-bag
・ Flexiant
・ Flexibacter
・ Flexibacteraceae
・ Flexibility (anatomy)
・ Flexibility (disambiguation)
・ Flexibility (engineering)
・ Flexibility (personality)
・ Flexibility method
・ Flexibility-usability tradeoff
・ Flexible
・ Flexible AC transmission system
・ Flexible algebra
Flexible array member
・ Flexible barge
・ Flexible battery
・ Flexible brain-computer interface
・ Flexible cable
・ Flexible carpooling
・ Flexible circuit
・ Flexible citizenship
・ Flexible Dieting
・ Flexible display
・ Flexible Display Interface
・ Flexible electronics
・ Flexible Endoscopic Evaluation of Swallowing with Sensory Testing
・ Flexible flat cable
・ Flexible flyer


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Flexible array member : ウィキペディア英語版
Flexible array member

Flexible array member〔(【引用サイトリンク】title=Lesser known C features )〕 is a feature introduced in the C99 standard of the C programming language (in particular, in section §6.7.2.1, item 16, page 103).〔http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf〕 It is a member of a struct, which is an array without a given dimension, and it should be the last member of such a struct, as in the following example:

struct double_vector_st

When using structures with a flexible array member, some convention regarding the actual size of that member should be defined. In the example above, the convention is that the member array has length double-precision numbers.
In previous standards of the C language, it was common to declare a zero-sized array member instead of a flexible array member. The GCC compiler explicitly accepts zero-sized arrays for such purposes.〔(【引用サイトリンク】title=Zero Length - Using the GNU Compiler Collection (GCC) )
C++ does not have flexible array members.
== References ==



抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Flexible array member」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.